package com.wesley.util.excel.strategy;

import com.wesley.util.excel.ValidateType;

import java.util.regex.Pattern;

/**
 * @author:wesley
 */
public class MobilePhoneStrategy implements ValidateStrategy {

    public boolean checkValidate(Object object) {
        return Pattern.matches(ValidateType.MobilePhone.getReg(),(String)object);
    }
}
